extends Area2D

@export var decorations: Array[Texture2D]

@onready var sprite: Sprite2D = $Sprite2D


func _ready() -> void:
	var random_texture: Texture2D = decorations.pick_random()
	sprite.texture = random_texture


func _process(delta: float) -> void:
	position.x -= delta * Global.speed
